package com.cloud.flowable.entity.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name = "流程模型对象", description = "流程管理")
public class ModelPage {

    @Schema(description = "当前页")
    private Integer pageNum;

    @Schema(description = "每页显示条数")
    private Integer pageSize;

    @Schema(description = "模型主键")
    private String modelId;

    @Schema(description = "模型名称")
    private String modelName;

    @Schema(description = "模型Key")
    private String modelKey;

    @Schema(description = "流程分类")
    private String category;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "表单类型")
    private Integer formType;

    @Schema(description = "表单主键")
    private Long formId;

    @Schema(description = "流程xml")
    private String bpmnXml;

    @Schema(description = "是否保存为新版本")
    private Boolean newVersion;

}
